package com.yuexunit.operationman.nbsy.module.OperationInventory.bean;

import java.util.ArrayList;

/**
 * Created by work-jx on 2017/9/5.
 */
public class GoodsBean {

    /**
     * code : 200
     * desc : 获取数据成功
     * object : [{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"id":46,"itemCode":"00162109","itemName":"塞头","itemOther":null,"pinyin":null,"firstPinyin":null,"status":1,"createTime":"2017-06-21 00:00:00.0","searchKey":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"id":40,"itemCode":"00162105","itemName":"棉球","itemOther":null,"pinyin":null,"firstPinyin":null,"status":1,"createTime":"2017-06-21 00:00:00.0","searchKey":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"id":39,"itemCode":"00162104","itemName":"棉签","itemOther":null,"pinyin":null,"firstPinyin":null,"status":1,"createTime":"2017-06-21 00:00:00.0","searchKey":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"id":37,"itemCode":"00162102","itemName":"大纱垫","itemOther":null,"pinyin":null,"firstPinyin":null,"status":1,"createTime":"2017-06-21 00:00:00.0","searchKey":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"id":36,"itemCode":"00162101","itemName":"纱布","itemOther":null,"pinyin":null,"firstPinyin":null,"status":1,"createTime":"2017-06-21 00:00:00.0","searchKey":null}]
     */

    private int code;
    private String desc;
    /**
     * firstRow : null
     * rowSize : null
     * orderBy : null
     * sortBy : null
     * id : 46
     * itemCode : 00162109
     * itemName : 塞头
     * itemOther : null
     * pinyin : null
     * firstPinyin : null
     * status : 1
     * createTime : 2017-06-21 00:00:00.0
     * searchKey : null
     */

    private ArrayList<ObjectEntity> object;

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setObject(ArrayList<ObjectEntity> object) {
        this.object = object;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public ArrayList<ObjectEntity> getObject() {
        return object;
    }

    public static class ObjectEntity {
        private String firstRow;
        private String rowSize;
        private String orderBy;
        private String sortBy;
        private String id;
        private String itemCode;
        private String itemName;
        private String itemOther;
        private String pinyin;
        private String firstPinyin;
        private String status;
        private String createTime;
        private String searchKey;
        private int count;

        public void setFirstRow(String firstRow) {
            this.firstRow = firstRow;
        }

        public void setRowSize(String rowSize) {
            this.rowSize = rowSize;
        }

        public void setOrderBy(String orderBy) {
            this.orderBy = orderBy;
        }

        public void setSortBy(String sortBy) {
            this.sortBy = sortBy;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setItemCode(String itemCode) {
            this.itemCode = itemCode;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        public void setItemOther(String itemOther) {
            this.itemOther = itemOther;
        }

        public void setPinyin(String pinyin) {
            this.pinyin = pinyin;
        }

        public void setFirstPinyin(String firstPinyin) {
            this.firstPinyin = firstPinyin;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public void setSearchKey(String searchKey) {
            this.searchKey = searchKey;
        }

        public String getFirstRow() {
            return firstRow;
        }

        public String getRowSize() {
            return rowSize;
        }

        public String getOrderBy() {
            return orderBy;
        }

        public String getSortBy() {
            return sortBy;
        }

        public String getId() {
            return id;
        }

        public String getItemCode() {
            return itemCode;
        }

        public String getItemName() {
            return itemName;
        }

        public String getItemOther() {
            return itemOther;
        }

        public String getPinyin() {
            return pinyin;
        }

        public String getFirstPinyin() {
            return firstPinyin;
        }

        public String getStatus() {
            return status;
        }

        public String getCreateTime() {
            return createTime;
        }

        public String getSearchKey() {
            return searchKey;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }


    }
}
